package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.RcOrderInvoiceOptlogMapper;
import com.ktgj.other.domain.RcOrderInvoiceOptlog;
import com.ktgj.other.service.IRcOrderInvoiceOptlogService;

/**
 * 专车订单发票日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
@Service
public class RcOrderInvoiceOptlogServiceImpl implements IRcOrderInvoiceOptlogService 
{
    @Autowired
    private RcOrderInvoiceOptlogMapper rcOrderInvoiceOptlogMapper;

    /**
     * 查询专车订单发票日志
     * 
     * @param rcorderinvoiceoptlogid 专车订单发票日志ID
     * @return 专车订单发票日志
     */
    @Override
    public RcOrderInvoiceOptlog selectRcOrderInvoiceOptlogById(Long rcorderinvoiceoptlogid)
    {
        return rcOrderInvoiceOptlogMapper.selectRcOrderInvoiceOptlogById(rcorderinvoiceoptlogid);
    }

    /**
     * 查询专车订单发票日志列表
     * 
     * @param rcOrderInvoiceOptlog 专车订单发票日志
     * @return 专车订单发票日志
     */
    @Override
    public List<RcOrderInvoiceOptlog> selectRcOrderInvoiceOptlogList(RcOrderInvoiceOptlog rcOrderInvoiceOptlog)
    {
        return rcOrderInvoiceOptlogMapper.selectRcOrderInvoiceOptlogList(rcOrderInvoiceOptlog);
    }

    /**
     * 新增专车订单发票日志
     * 
     * @param rcOrderInvoiceOptlog 专车订单发票日志
     * @return 结果
     */
    @Override
    public int insertRcOrderInvoiceOptlog(RcOrderInvoiceOptlog rcOrderInvoiceOptlog)
    {
        return rcOrderInvoiceOptlogMapper.insertRcOrderInvoiceOptlog(rcOrderInvoiceOptlog);
    }

    /**
     * 修改专车订单发票日志
     * 
     * @param rcOrderInvoiceOptlog 专车订单发票日志
     * @return 结果
     */
    @Override
    public int updateRcOrderInvoiceOptlog(RcOrderInvoiceOptlog rcOrderInvoiceOptlog)
    {
        return rcOrderInvoiceOptlogMapper.updateRcOrderInvoiceOptlog(rcOrderInvoiceOptlog);
    }

    /**
     * 批量删除专车订单发票日志
     * 
     * @param rcorderinvoiceoptlogids 需要删除的专车订单发票日志ID
     * @return 结果
     */
    @Override
    public int deleteRcOrderInvoiceOptlogByIds(Long[] rcorderinvoiceoptlogids)
    {
        return rcOrderInvoiceOptlogMapper.deleteRcOrderInvoiceOptlogByIds(rcorderinvoiceoptlogids);
    }

    /**
     * 删除专车订单发票日志信息
     * 
     * @param rcorderinvoiceoptlogid 专车订单发票日志ID
     * @return 结果
     */
    @Override
    public int deleteRcOrderInvoiceOptlogById(Long rcorderinvoiceoptlogid)
    {
        return rcOrderInvoiceOptlogMapper.deleteRcOrderInvoiceOptlogById(rcorderinvoiceoptlogid);
    }
}
